﻿using Microsoft.AspNetCore.Authorization;

namespace ZenSystemService.Api.Common.Auth
{
    public class FunctionRequirement : IAuthorizationRequirement
    {
        public string FunctionName { get; }

        public FunctionRequirement(string functionName)
        {
            FunctionName = functionName;
        }
    }
}